W18: Invention, Intellectual Property, and Income


Week #18 is finally here. It´s been a long journey since january when we started Fab Academy 2024. This week I have to present my final project and make sure it works and does everything. So lets begin with the last stop of our journey. Just remember it´s time to rest..... hahaha, no, it isn't is time to work, work, work!!! Come on, we can do it! So join me one last time and see what comes along and as always hoping for the best.

This week assignmets are:

Group assignments:

Individual assignments:


General Information


So we start the making process of my project. I'm going to show you step by step eveything required to finish my project. Remember i'm making a medical lamp that will have the next functions:

Components i'm using:

This are the components and pins i'm using en each one of them:

List of components and pin connection

Data from: Xiao ESP32S3

Data from: RGB Led

Data from: Max30102

Data from: LCD screen

How much did it cost?

In this part I will detail how much i'll invest. A few details:





Work plan


In this section im´ going to add a work plan for my final project of how i'll be working week by week. The idea is to have a plan I can follow to manufacture my project.



Manufaturing process


A). Designing in SolidWorks

In this section i'll share with you the process of my design. Something important is why this desing, well, let me tell you a few things I consider:

A1. Superior and inferior case

I started with the front case, I think this is the hardest part because I have to make usre the components fit correctly in every space and doesn't have to be loose. This is a good oportunity to make changes in case they are need it.

A2. Acrylic figure

This part was a little tricky. I decide to do this using acrylic so I was going to use the laser cutting machine so what did this mean? Remember kerf? Yes, I got to consider kerf because this figure must be assembled with the upper case.


B). Programming time

This section is all about programming and I need to program the next components:

What did I do in this part? Well let me tell you:

In the next sections i'm going to share parts of the code that I use for each component. Part of the code I got was from chatgpt, github (jotathebest) and other parts from the libraries examples I installed. This part took several hours/days

B1). Libraries, pins and leds

This part of the code is to:


B2). Wi-Fi connection and MQTT

The next part of the code is for:

B3). Display oled SSD1306

In the next part of the code you see:

B4). Max30102 code

And for this part of the code takes the maeasures:


C). 3D printing

Now that I made some changes in my design I'm going to printed in the 3D. I'm going to print 2 two cases (upper and lower) and the have to fit to make a good assemble. For this part I had to:

C1). Preparing to 3D print


C2). Is the final printing ok?

After the printing is done I made some test and I got to make sure of two things:

C3). 3D printing and final result

Here is a short video of the printing process:


D). Computer Aided design

Once I have ready the design of the acrylic figure, I proceed to use the Laser cutting machine and the acrylic sheet. So, what did I do in this part:

D1). Cutting process

D2). Setting parameters

Then I was readt to use de laser cutting machine and set the speed and power parameters for the figure and logo. I set this parameters:


D3). Laser cutting machine working video and final result

D4). final Result


E). Time to wire

I reach the part were I have wire my project. At this point I have to make sure no just the components fit perfectly but to use wire with an appropriate length. Now, why is this important for my project? Well, let me share with all of you some reasons:

E1). Preparing the wires.

In this process I had to prepare the wires I would be using. The idea is to make them of the appropriate length. This is what I did:


E2). Wiring time.

Now, for the next part I started to wire the MediLamp. Test if everything was exactly how is need it and the proceed to fit everything in the right place in the in the assembly part. Even though this part took some time, the test look good and I was ready to assemble everything. In the picnic section i'm going to sepcify what problems I had and errors I made en each part of the project.


F). Testing

So, I decided to make one last test before assembling the final project. I want to check one last time that everything was working ok. I just want it to make sure that all the components, wiring, connections and coding were working all together. This was kind a scary, but I had to do it. I share woth you a short video of the final test.

FYI:This test made me happy, I had everything ready for the assembling. So it was time to take a rest, hahaha naaaah!!! I had to continue and make sure everything was ready for my final presentation. I was still missing the final slide and video. But at least with this test I had a relief..... but this relief wasn't for so long. Again, in the picnic section i'll share what happened.


G). Assembling time

This is the final part. The moment to make the final assemble was here. I had everything I need, components, cables, code and cases ready so that my final project could work and add a final result to the video I was preparing for my final presentation. Here are the steps:



Testing section


In this section of the web page, i'll share the results I from the different test I made during the making process of the MediLamp. En each phase I had to make several test just to make sure everything will work by itself and together with the other components. So lets start:

A). 3D - Printing

I begin with the 3D printing. I wanted to be sure if both cases fit together perfectly. So I decide to print MediLamp:


B). Code and Leds

When the leds arrive, I test them and I try some examples of the Adafruit_NeoPixel library and a code from chatgpt. I wanted to see:

C). Acrylic design

It was time to cut the acrylic design and in here I had to consider kerf. So, dimensions are very important. I had a few details besides using polycarbonate instead of acrylic that I mentioned above. What came up in this phase?:


P.I.C.N.I.C section


Just as I did throughout the other 17 weeks of Fab Academy, in this section I will share every "p.i.c.n.i.c" errors I made during the process of buiding my project and specify the phase I was so you can have a better undertanding. So, lets begin with this section.

A). Embedded coding

So one the parts that took some time to finish it was the coding part. As I work on it I try to make as much test as I could, making sure the code work properly. Coding "p.i.c.n.i.c" errors:

A1). Wrong pins in the code.

A2). No results in the SSD1306.


B). Computer Aided design

I thouth that in this part I wasn't going to have any problems, as a matter of fact I consider the easiest part of the entire project. But that was just a feeling. This were my Computer aided design "p.i.c.n.i.c" errors:

B1). Material I was using.

C). Wiring and leds

This part took a few hours, it wasn't that hard but I had to make sure every wire had the lenth and worked correctly. This were my wiring and led "p.i.c.n.i.c" errors:

C1). Wires.

C2). Leds.


Final part


Files

In this part, i'm going to share with you the files I used for my final project.

Conclusions and recomendations

What did I learn in this week?

Geo's Fablab by Geovanny M. Fortín is licensed under Creative Commons Attribution-NonCommercial 4.0 International